<?php


namespace app\controllers;

use yii\helpers\Json;
use app\service\SysMenuService;

class MenuDeleteController extends BaseJsonController
{
    public function doService($req, $userInfo)
    {
        $post = @file_get_contents('php://input');
        $idList = Json::decode($post);
        $service = new SysMenuService();
        return  $service->deleteBatch($idList);
    }

}